package cc.risingsun.wing.core.generator;

import org.objectweb.asm.Opcodes;

import cc.risingsun.wing.core.WingClass;
import cc.risingsun.wing.core.WingMethod;

/**
 * 类型生成器,这个生成器是用在标注在类上的annotation
 * @author iron.yin@gmail.com
 * @sina 2012-8-31
 */

public interface WingTypeGenerator extends Opcodes {
	int JDK_VER=V1_6;
	void checkType(final int access,final String annoName,final String resourceName);
	void constructor(WingClass clazz);
	void generateMethod(WingMethod method);
	byte[] toByte();
}
